function loadXML(obj, name)
%LOADXML load  information from a XML
    rpath = '\+Table1\+Actuator\';
    filename = 'TABLE1Actuator.xml';
    info = xml_read([Constant.AutoMeasurementAppPath  rpath filename]);
    nameList = fields(info);
    obj.info = info;

    if ismember(name, nameList)
        % properties
        switch obj.type
            case 'coil'
                obj.prop.direction = info.(name).direction;
                obj.prop.nTurn = info.(name).nTurn;
                obj.prop.curr2nT = info.(name).curr2nT;
                obj.prop.inductance = info.(name).inductance;
                obj.prop.resistance = info.(name).resistance;
            case 'AOM'
                obj.prop.voltF = info.(name).voltF;
            case 'NoiseEater'
                obj.prop.model = info.(name).model;
                obj.prop.range = info.(name).range;
            otherwise
                error('Unknown type [%s]', obj.type);
        end
        
        % controller
        obj.ctrl.class = info.(name).controller.class;
        obj.ctrl.device = info.(name).controller.device;
        obj.ctrl.port = info.(name).controller.port;

        try % oscillator index
            obj.ctrl.oscillator = info.(name).controller.oscillator;
        catch
            obj.ctrl.osillator = 'N.A.';
        end

        try % demodulate index
            obj.ctrl.demodulator = info.(name).controller.demodulator;
        catch
            obj.ctrl.demodulator = 'N.A.';
        end

        try % is 50 Ohms impedance
            obj.ctrl.is50Ohm = info.(name).controller.is50Ohm;
        catch
            obj.ctrl.is50Ohm = false;
        end

    else
        error('No inforamtion [name = %s] found.', name);
    end
end